package com.example.crossborderecommerce.service.impl;

import com.example.crossborderecommerce.entity.Admin;
import com.example.crossborderecommerce.entity.PurchaseOrder;
import com.example.crossborderecommerce.mapper.ProductCategoryMapper;
import com.example.crossborderecommerce.mapper.PurchaseOrderMapper;
import com.example.crossborderecommerce.service.IPurchaseOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Yolanda
 * @since 2024-05-09
 */
@Service
public class PurchaseOrderServiceImpl extends ServiceImpl<PurchaseOrderMapper, PurchaseOrder> implements IPurchaseOrderService {
    @Resource
    PurchaseOrderMapper purchaseOrderMapper;
    @Override
    public List<Admin> findAdminsInPurchaseOrder() {
        return purchaseOrderMapper.findAdminsInPurchaseOrder();
    }
}
